function getlogin() {
    var pathName=document.location.pathname;
    var index=pathName.substr(1).indexOf("/");
    var result=pathName.substr(0,index+1);
    $.ajax({
        url:result+"/member/getlogin",
        type:"get",
        data:null,
        dataType:"json",
        success:function (result) {
            console.log("success");
        }

    })
};